home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compendium Deluxe 2
/
LSD and 17bit Compendium Deluxe - Volume II.iso
/
a
/
prog
/
arexx
/
zedrexx.lha
/
ZedREXX
/
REXX
/
StdI.zrx
< prev
next >
Wrap
Text File
|
1994-03-28
|
2KB
|
74 lines
/* $VER: stdi.zrx 1.0 (10.09.93)
* Test script for the Great and Mighty ZedREXX
* Copyright (c) 1993 Reality Check, Inc.
*
*/
OPTIONS RESULTS
SIGNAL ON ERROR
SIGNAL ON HALT
/* Application Data */
'zInterface zStdI'
'zWindow Main Label "Image Example" Open Centered Vertical CloseEvent ChildMaxWidth'
'zMenu Project'
'zObject Button Quit Label "&Quit" SelectEvent'
'zEndMenu'
'zGroup Horizontal ChildMaxHeight Justification Left'
'zObject StdI Image Which=Question'
'zObject TextDisplay TD1 Value "Ask a question." NoBorder'
'zEndGroup'
'zGroup Horizontal ChildMaxHeight Justification Left'
'zObject StdI Image Which=Information'
'zObject TextDisplay TD2 Value "Show some Information." NoBorder'
'zEndGroup'
'zGroup Horizontal ChildMaxHeight Justification Left'
'zObject StdI Image Which=Exclamation'
'zObject TextDisplay TD3 Value "Give a Warning." NoBorder'
'zEndGroup'
'zGroup Horizontal ChildMaxHeight Justification Left'
'zObject StdI Image Which=Stop'
'zObject TextDisplay TD4 Value "Give a Fatal Warning." NoBorder'
'zEndGroup'
'zObject Line'
'zGroup Horizontal Justification Center'
'zObject Button OK Label "&OK" SelectEvent'
'zEndGroup'
'zEndWindow'
'zEndInterface'
/* Turn everything on */
'zDoMethod zStdI Activate'
/* Enter the event loop */
DO FOREVER
/* Wait for something to happen */
'zWaitForEvent stem.'
/* Do something with the event */
INTERPRET "zRC="RESULT"()"
END
Halt:
OK_Select:
Quit_Select:
zStdI_Quit:
EXIT
Error:
IF RC=20 THEN DO
SAY "Must be run within zrx"
EXIT
END
SAY "Error" RC "at line" SIGL " (errnum="zErrNum")"
EXIT
OK_Select:
Main_Close:
EXIT